﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenAuth.Repository.Core;
using Infrastructure;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 门诊预交金充值
    /// </summary>
    public class BMZXX003 : Entity
    {
        /// <summary>
        /// 患者id
        /// </summary>
        public string patid { get; set; }
        /// <summary>
        /// 支付方式 1 支付宝 2 微信 3 银行卡
        /// </summary>
        public Int32? paytype { set; get; }
        /// <summary>
        /// 充值金额
        /// </summary>
        public double paymoney { set; get; }
        /// <summary>
        /// 支付流水号 传收据号
        /// </summary>
        public string paylsh { set; get; }
        /// <summary>
        /// 支付时间
        /// </summary>
        public string paytime { set; get; }
        /// <summary>
        /// his支付流水号 His交易流水号
        /// </summary>
        public string hisjylsh{set;get;}
        /// <summary>
        /// 平台流水号第三方平台流水号，标记唯一一次业务请求，(门诊预交金预充值时HIS 返回收据号为空时，此参数必填)
        /// </summary>
        public string ptlsh { set; get; }
        /// <summary>
        /// HIS订单号 医院用于唯一标识一笔缴费的凭证，全院范围内不重复(含收费、退费、预交金等等所有收费退费行为)，如预充值时返回此字段时，则此字段不得为空
        /// </summary>
        public string hisddh { set; get; }

    }
    public  class BMZXX003Response: Response
    {
        /// <summary>
        /// 预交金序号
        /// </summary>
        public string yjxh { set; get; }
        /// <summary>
        /// 当前余额
        /// </summary>
        public string dgye { set; get; }
        public string hisjylsh { set; get; }
        public string hisddh { set; get; }
    }
}
